package com.limh.base.adapter

import android.content.Context
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater

/**
 * @author limh
 * @function
 * @date 2018/5/12 8:37
 */
abstract class BaseAdapter<VH : RecyclerView.ViewHolder>(context: Context) : RecyclerView.Adapter<VH>() {

    val inflater: LayoutInflater = LayoutInflater.from(context)

    abstract fun <T> notifyDataSetChanged(dataList: List<T>)

}
